<extend name="Public:base" />

<block name="body">
<h2>Titles</h2>
<p>List all the titles.</p>
<p><strong>Summary:</strong> {$titlesCount} titles in Total.</p>
<table class="table table-striped table-hover table-condensed">
    <tr>
        <th>#</th>
        <th>Title</th>
        <th>Employee Num</th>
    </tr>
    <assign name="id" value="1" />
    <volist name="titles" id="title">
    <tr>
        <td>{$id++}</td>
        <td><a href="{$title.title|U='Title/title',array('tn'=>###)}">{$title.title}</a></td>
        <td>{$title.count}</td>
    </tr>
    </volist>
</table>
</block>
